.home {
  $f: 19.2;

  .banner {
    position: relative;
    &::before{
      content:'';
      display: block;
      position: absolute;
      left: 0;
      top:0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, .2);
    }
    img {
      width: 100%;
      display: block;
      object-fit: cover;
      height: 33vh;
    }
    .text{
      position: absolute;
      left: 0;
      width: 100%;
      bottom:30/$f+vw;
      color:white;
      padding: 0 200/$f+vw;
      .p1{
        font-size: 30/$f+vw;
        font-weight: 600;
        line-height: 1;
      }
      .des{
        font-size: 20/$f+vw;
        margin-top: 20/$f+vw;
        line-height: 1.3;
        font-weight: 200;
      }
    }
  }

  .nav_menu {
    background: #F5F5F5;
    padding: 0 200/$f+vw;
    display: flex;
    align-items: center;

    a {
      display: block;
      padding: 20/$f+vw 44/$f+vw;
      color: #222;
      font-size: 17/$f+vw;
      line-height: 1.2;
      transition: all 600ms;
      cursor: pointer;

      &:hover {
        background: #FFF;
        color: #E6001A;
      }
    }

    .on {
      background: #FFF;
      color: #E6001A;
    }

    span {
      width: 1px;
      height: 10/$f+vw;
      background: #CCC;
    }
  }



  .section {
    margin: 80/$f+vw 260/$f+vw 120/$f+vw 260/$f+vw;

    .t{
      color:#000;
      font-size: 32/$f+vw;
      font-weight: 600;
      line-height: 1.27;
      text-align: center;
      margin-bottom: 80/$f+vw;
    }

    .box {
      margin-bottom: 100/$f+vw;
      .st {
        display: flex;
        color: #000;
        font-size: 24/$f+vw;
        line-height: 1.5;
        align-items: center;
        margin-bottom: 33/$f+vw;

        &::before {
          content: '';
          display: block;
          width: 8/$f+vw;
          height: 34/$f+vw;
          border-radius: 19/$f+vw;
          background: #E6001A;
          margin-right: 24/$f+vw;
        }
      }
      .pbox{
        margin-bottom: 33/$f+vw;
        .st2 {
          display: flex;
          color: #000;
          font-size: 18/$f+vw;
          line-height: 1.5;
          align-items: center;
          margin-left: 30/$f+vw;
        }
  
        .partners {
          position: relative;
          overflow: hidden;
  
          &:after {
            background-image: -webkit-linear-gradient(right, #fff 20%, rgba(235, 237, 240, 0));
            content: "";
            height: 120%;
            position: absolute;
            right: -15px;
            top: -10px;
            width: 150/$f+vw;
            z-index: 2;
          }
  
          &:before {
            background-image: -webkit-linear-gradient(right, #fff 20%, rgba(235, 237, 240, 0));
            content: "";
            height: 120%;
            position: absolute;
            left: -15px;
            top: -10px;
            width: 150/$f+vw;
            z-index: 2;
            transform: rotate(180deg);
          }
  
          .animate_box {
            display: flex;
            width: max-content;
            animation: ani-loop 20s linear infinite;
            animation-play-state: paused;
            padding: 40/$f+vw 0;
  
            &:hover{
              animation-play-state: running;
            }
            .flex-xb {
              display: flex;
              flex-wrap: wrap;
    
              .pic {
                width:200/$f+vw;
                height: 80/$f+vw;
                display: flex;
                align-items: center;
                margin: 0 10/$f+vw;
                justify-content: center;
                background: #FFF;
                box-shadow: 0px 10/$f+vw 52/$f+vw 0px rgba(0, 0, 0, 0.06);
                img{
                  max-width: 80%;
                  display: block;
                  object-fit: contain;
                  max-height: 80%;
                }
              }
            }
    
            @keyframes ani-loop {
              0% {
                transform: translateX(0);
              }
    
              100% {
                transform: translateX(-50%);
              }
            }
          }
        }
      }
    }
  }

  @media screen and (max-width: 1024px) {
    .banner {
      img {
        height: 300px;
      }
      .text{
        padding: 0 5%;
        bottom: 20px;;
        .p1{
          font-size: 24px;
        }
        .des{
          font-size: 16px;
          margin-top: 10px;
        }
      }
    }

    .nav_menu{
      padding: 0;
      flex-wrap: wrap;
      a{
        padding: 15px 10px;
        font-size: 14px;
      }
      span{
        height: 10px;
      }
    }
    .section{
      margin: 40px 5%;
      .t{
       font-size: 24px;
       margin-bottom: 30px;
     }
     .box{
       margin-bottom: 40px;
       .st{
         font-size: 18px;
         margin-bottom: 15px;
         &::before{
           height: 15px;
           width: 3px;
           margin-right: 10px;
         }
       }
       .pbox{
        .st2{
          font-size: 16px;
          margin-left: 12px;
        }
        .partners{
          .scroll-container {
            .animate_box {
              padding: 20px 0;
              animation-play-state: running;
              .flex-xb {
    
                .pic {
                  width:120px;
                  height: 56px;
                  margin-left: 10px;
                }
              }
            }
          }
        }
       }
     }
   }
  }
}